CurrencyAmount

data class CurrencyAmount(val currency: CurrencyType, val amount: Long)

Constructors

Link copied to clipboard
constructor(currency: CurrencyType, amount: Long)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun convertTo(destCurrency: CurrencyType, asOf: Int? = null): CurrencyAmount

Convert the value of this CurrencyAmount into the given currency, optionally providing a conversion date